package cn.jaye.fabric.common.constant;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author Jaye
 * @create 2017-12-21 17:50
 */
@Component
public class MicroConstant {

    @Value("${micro.apigateway-address}")
    private String apiGatewayAddress;

    @Value("${micro.import-raml-path}")
    private String ramlPath;

    @Value("${micro.http-encrypt-flag}")
    private Boolean httpEncryptFlag;

    @Value("${micro.default-channel}")
    private String defaultChannel;
    @Value("${micro.default-accesspoint.id}")
    private String defaultAccesspointId;
    @Value("${micro.default-accesspoint.sign-key}")
    private String defaultAccesspointSignKey;
    @Value("${micro.default-accesspoint.aes-key}")
    private String defaultAccesspointAesKey;
    @Value("${micro.default-accesspoint.aes-iv}")
    private String defaultAccesspointAesIv;

    public String getDefaultChannel() {
        return defaultChannel;
    }

    public String getDefaultAccesspointId() {
        return defaultAccesspointId;
    }

    public String getDefaultAccesspointSignKey() {
        return defaultAccesspointSignKey;
    }

    public String getDefaultAccesspointAesKey() {
        return defaultAccesspointAesKey;
    }

    public String getDefaultAccesspointAesIv() {
        return defaultAccesspointAesIv;
    }

    public Boolean getHttpEncryptFlag() {
        return httpEncryptFlag;
    }

    public String getRamlPath() {
        return ramlPath;
    }

    public String getApiGatewayAddress() {
        return apiGatewayAddress;
    }

}
